package com.easy.tool.utils.bean;

import com.easy.tool.anno.BeanDes;
import com.easy.tool.anno.MethodDes;

/**
 * @author 高俊
 * @create 2021-11-2021/11/9-10:14
 */
@BeanDes(name = "判断bean的类",des = "主要对object进行判断操作")
public class IsBeanUtils<T> {

    /**
     * 判断对象是否为空
     * @param bean
     * @param <T>
     * @return
     */
    @MethodDes(des = "判断对象是否为空",param = {"arg0-> bean：指定对象"})
    public static <T> boolean isNull(T bean){
        return bean == null;
    }
}
